home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / clntexec.6 < prev    next >
Text File  |  1996-07-16  |  1KB  |  34 lines

  1. .TH CLNTEXEC
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. CLNTEXEC
  5.  
  6.  
  7.  
  8.  NumericType CLNTEXEC( StringType ClientName )
  9.  
  10. Initiate communication channels to a client named ClientName.
  11. ClientName is executed by this function as a sub process and
  12. two communication channels are opened between the IRIT server and the
  13. new client, for read and write. See also CLNTREAD, CLNTWRITE, and
  14. CLNTCLOSE. if ClientName is an empty string, the user is provided
  15. with the new communication port to be used and the server blocks for the
  16. user to manualy executed the client after setting the proper
  17. IRIT_SERVER_HOST/PORT environment variables.
  18.  
  19. Example:
  20.  
  21.    h1 = CLNTEXEC( "" );
  22.    h2 = CLNTEXEC( "nuldrvs -s-" );
  23.  
  24. executes two clients, one is named nuldrvs and the other one is
  25. prompted for by the user. As a result of the second invokation of
  26. CLNTEXEC, the user will be prompted with a message similar to,
  27.  
  28.     Irit: Startup your program - I am waiting...
  29.  
  30.     setenv IRIT_SERVER_PORT 2182
  31.  
  32. and he/she will need to set the proper environment variable and execute
  33. their client manually.
  34.